209 距離判斷
num = [] for i in range(10): num.append(int(input().strip())) print(min(num))
308 迴圈位數加總
n = int(input().strip()) for i in range(n): num = input().strip() total = 0 for j in range(len(num)): total += int(num[j]) print("Sum of all digits of %s is %d" %(num,total))
401 最小值
num = [] for i in range(10): num.append(int(input().strip())) print(min(num))
參考資料:TQC+ Python 3